Skip to content

chore: use cargo git to pull all build dependencies #354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025

Conversation

bmuddha
Copy link
Contributor

@bmuddha bmuddha commented Apr 30, 2025

Greptile Summary

Migrated dependency management from local paths to Git repositories, improving build reproducibility and simplifying CI/CD setup.

  • Changed ephemeral-rollups-sdk in test-integration/Cargo.toml from local path to Git dependency with rev c1fcb91
  • Updated conjunto-transwise and magicblock-delegation-program in root Cargo.toml to use Git dependencies
  • Removed manual repository checkouts from .github/actions/setup-build-env/action.yml, leveraging Cargo's Git dependency resolution
  • Consider using longer commit hashes (>7 characters) to prevent potential hash collisions

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

@@ -24,7 +24,7 @@ edition = "2021"
anyhow = "1.0.86"
borsh = { version = "1.2.1", features = ["derive", "unstable__schema"] }
cleanass = "0.0.1"
ephemeral-rollups-sdk = { path = "../../ephemeral-rollups-sdk/rust/sdk" }
ephemeral-rollups-sdk = { git = "https://github.com/magicblock-labs/ephemeral-rollups-sdk.git", rev = "c1fcb91" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Consider using the full commit hash instead of the shortened 'c1fcb91' to prevent potential future hash collisions

Copy link
Contributor

@GabrielePicco GabrielePicco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! For development we can [patch] with local paths

@bmuddha bmuddha merged commit dccc8c3 into master May 1, 2025
6 checks passed
@bmuddha bmuddha deleted the bmuddha/chore/use-cargo-git-deps branch May 1, 2025 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants